package com.artpri.model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import static javax.persistence.GenerationType.IDENTITY;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * GoodsCategoryGroup entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "goods_category_group", catalog = "jpw")
public class GoodsCategoryGroup implements java.io.Serializable {

	// Fields

	private Integer gcgId;
	private String gcgName;

	// Constructors

	/** default constructor */
	public GoodsCategoryGroup() {
	}

	/** full constructor */
	public GoodsCategoryGroup(String gcgName) {
		this.gcgName = gcgName;
	}

	// Property accessors
	@Id
	@GeneratedValue(strategy = IDENTITY)
	@Column(name = "gcg_id", unique = true, nullable = false)
	public Integer getGcgId() {
		return this.gcgId;
	}

	public void setGcgId(Integer gcgId) {
		this.gcgId = gcgId;
	}

	@Column(name = "gcg_name", length = 50)
	public String getGcgName() {
		return this.gcgName;
	}

	public void setGcgName(String gcgName) {
		this.gcgName = gcgName;
	}

}